fixed lockup when wildcards are used and unreachable hosts are present in the target. Also fixed the stringification of unreachable host uris.