Switched from using courses to course_details.

Next fix is on the moodle end; dml_missing_record_exception
is being raised for a course install.

refs #16215