Adding small check to vhost to prevent Apache warnings

Apache generates warnings about NameVirtualHost not having any vhosts during log rotation if the NameVirtualHost line appears twice in the config. That is common for Ubuntu servers when using the apache2 cookbook.

This PR addresses that.