This makes the commands work in puppet 3

Not sure if this is the correct way to fix the modules or not, but with no "HOME" set in puppet 3, I have made these changes.