Better error on bad hosts.