slightly improve YAML error message