cdodge/fix-crash-on-course-not-found: add null guard

Add logging message
Merge pull request #60 from edx-solutions/cdodge/fix-crash-on-course-not-found

Cdodge/fix crash on course not found