Potentially fix rare script loading error

This should be unneeded, but with SnakeYAML, ...
Catch really really unlikely bug

If this happens for real, SnakeYAML is more insane than I thought.
Catch YamlConfig errors

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