Removed reference to $ENV{HOME} and replaced with a system exp.

This was done to maintain ease of use in puppet - I don't
know if the $HOME variable is available (often times, it isn't),
however, this solution should rectify this.