Likewise here, I think

```ruby
return host, result if host.hostgroup && !Setting[:force_hostgroup_match]
```

is more readable.