libexec/check-vhost-name: fixed bug introduced by previous commit