configure.sh: fix PUPPET_VHOST and enable puppetmaster.conf before using it