Don't add empty hosts to the map.