[targets/moodle] Correct configuration generation