Catch YamlConfig errors

If you do something stupidly wrong, don't explode, just return null.
Maybe echo an error if needed.