Discovered a case I missed on the original version of this. See https://github.com/edx/edx-platform/pull/5798 JIRA: MA-76 Also fixes checking for mobile_access when course is None JIRA: MOB-978