Moved exception raising to get_localhoist_ip
Moved exception raising to get_localhoist_ip

Change-Id: If2a55b844d3c6678d37a1f2598df0f229956d0d9
Fixes: rhbz#977281

imcsk8/packstack,larsks/packstack,imcsk8/packstack,spkane/packstack,mahak/packstack,fr34k8/packstack,stackforge/packstack,bcrochet/packstack,openstack/packstack,harveyzh/packstack,stackforge/packstack,harveyzh/packstack,pkilambi/packstack,imcsk8/packstack,radez/packstack,harveyzh/packstack,radez/packstack,pkilambi/packstack,fr34k8/packstack,xbezdick/packstack,xbezdick/packstack,palmer159/openstack-test,spkane/packstack,radez/packstack,stackforge/packstack,larsks/packstack,openstack/packstack,xbezdick/packstack,mahak/packstack,fr34k8/packstack,palmer159/openstack-test,mahak/packstack,bcrochet/packstack,larsks/packstack,pkilambi/packstack,spkane/packstack,openstack/packstack,bcrochet/packstack,palmer159/openstack-test