Fix CourseKey error
Merge pull request #3206 from edx/flowerhack/opaque-keys

Fix CourseKey error