Not crashing on valid but incorrect YAML

https://progress.opensuse.org/issues/1513