Check that the IP is set before adding a new line
Merge pull request #85 from ColinHebert/fix_no_ip

Check that the IP is set before adding a new line to the hosts file