This should probably be something like:
Katello::System.find_by_host_id(@host.id)