The Puppet process may not be notified of a change in environment variables. The broadcast may not make it out for every process. https://github.com/chocolatey/puppet-chocolatey/issues/86