`get_prep_lookup` in `/common/djangoapps/xmodule_django/models.py` has an error message with the string `CourseKeyField.Empty`.