Fixes exception when not specifying yamlmibdir

Fixes 'undefined method `empty?` for nil:NilClass exception
Merge pull request #950 from AKoetsier/master

Fixes exception when not specifying yamlmibdir