Wrong icon when restoring course.

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