A putative solution to Issue 187.

This small patch avoids writing new environment variables in the case that the user already has the "HOME" variable already defined. It is assumed that if they have the "HOME" variable defined then they have appropriately set their PATH variable.