Fixed case where config file might be empty

* Yaml::parse returns null for empty file, which caused error on foreach
Merge pull request #167 from peterjmit/master

Fixed case where config file might be empty