More robust YAML load checking

Ensure that no matter what the YAML file contents is, the configuration
is always set to a hash