catch config.yml syntax errors, and provide nicer error message