Issue #1901: Don't crash if provided config file is empty.

Don't return result of YAML.load if false

added tests around empty config file