Fix for vhost db creation