In Facter 2 if a command does not exist, running `Facter::Util::Resolution.exec` will raise an error; we need to add a confine to ensure that `nmcli` is available:

```ruby
confine do
  Facter::Util::Resolution.which('nmcli')
end
```