Fixes exception when not specifying yamlmibdir

Fixes 'undefined method `empty?` for nil:NilClass exception