MDL-47162 core_message: debug whenever courseid is missing