fix seg fault if no vhost has been used
Authored by: pbuchbinder 2010-05-28
Parent: [r854]
Child: [r856]