MDL-41045 course_create_sections_if_missing: option to not use modinfo