before, we guessed by splitting the course id. This is fragile and doesn't handle the new export format which contains a course/ subdir