libexec/check-vhost-name: fix bug introduced