fixed a bug with vhosts being mapped in DNS or via IP but had no data which would throw an error, hopefully this patches the problem.