fixes #6363 - use respond_to? instead of @host.info

Requires  https://github.com/theforeman/foreman/pull/1634 in order to have the latest version of SafeMode with fixed respond_to?

Note: This breaks Foreman < 1.5.3, but needs to be done to fix host group provisioning.