Fix conditionals

Anything returned from the hiera Config object will always be defined. If the item has not been set then it will be nil. So, the correct way to check if a config item is set is to check for nil or, more idiomatically, simply use the item in a boolean test.