Guard against missing config.yml and config.defaults.yml sections for
the current environment.