Mdl 42209 25

Fix wrong icons when restoring backup file
https://tracker.moodle.org/browse/MDL-42209