Fix checking for mobile_access when course is None

JIRA: MOB-978