MDL-46984 core_course: added grouping name for activities with no link