Fixed clone_template script to wait for IP address

get_ip_address returned None on failure, wait_for assumes False
Merge pull request #872 from psav/fix_template_clone

Fixed clone_template script to wait for IP address