Fix issue with puppet 3 and has_variable