Fix: Exception handling during fetching of hostname

Handle the exception so that if there is a failure in getting
the hostname from hostnamed service, control should move ahead
and parse the routes and fetch the gateway etc.

Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Change-Id: If2e38b854a9603b0c67e85d2b8e55f8718dd6c7e
1 file changed