fixing CLI host rewriting when host's default interface does not have an IP