Use `if !()` instead of `unless` for Puppet 2.7

`device.pp` updated to use compatible expression syntax over newer
keyword `unless`.

Ref: https://docs.puppetlabs.com/puppet/2.7/reference/lang_expressions.html