Adding fix to lookup host assertions based on hostname if we cannot find it with host ip too.