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

The problem is better described here:
http://nanliu.github.io/blog/2013/02/08/migrating-to-puppet-3-dot-x/