fixed minor issue with external ip
if external_ip and public ip were not set when shoal_agent started it
would constantly query the webpy /external url, instead of only once.