get_host_name_ip: improved failure path for gaierror.
get_host_name_ip: improved failure path for gaierror.

Change-Id: I11187a8e33348d4136119f292fc2ed30a2d1b1ce
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation