fixes #5978 - find the content host for a host

Prior code was giving an error since @host.content_host was nil