Update `get_hosts_settings` to not require hosts

The check for the host has been pushed down to the `host_context` decorator so non-host commands can still work.