Raise error when no YAML files are loaded