nexthostname - also check hostnames in discovery

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-andrzej-jankowski/builds/44