Improved YAMLSource error message