set_hostname in network_functions.sh cares about IP instead of hostname for existence check.