Fixed clone_template script to wait for IP address

get_ip_address returned None on failure, wait_for assumes False