Make course_module do the right thing to get a course_key