What happens if _get_tuple returns '' for host1 and/or port1?