fixed some more bugs causing errors in templates/host/network_guest_register.sh