Improved error reporting of wrong materials in challenges.yml.