Fix unset variables issue for user dir and env variables.

DELTA=18  (18 added, 0 deleted, 0 changed)

git-svn-id: http://google-toolbox-for-mac.googlecode.com/svn/trunk@630 7dc7ac4e-7543-0410-b95c-c1676fc8e2a3