Fixes a problem with Puppet 3.0+ where the HOME environmental variable is unset.