replace condition unless with if ! for puppet 2.7.x compat