Adding directory existence check for building vhost