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

We're already attempting to run using the same user that owns the brew executable. We should also ensure that if we add `HOME` to the environment (which is necessary, as `~` is used by some brew packages), then we use the `HOME` of the user we're about to execute as.