handle null pointer from getenv more gracefully

git-svn-id: http://code.icecube.wisc.edu/svn/projects/clsim/trunk@114917 16731396-06f5-0310-8873-f7f720988828