Fixing return of getHostInfo for unkown host