More explicit error message in case of invalid config file