Ensure LMS passes correct group_id when querying content

TNL-23
This clause is not reachable; if the course doesn't exist, then the get_course_with_access call above will fail.