Issue_90 Crash Fetching ProgramFiles environment variable

Fixes Issue_90

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #92 from GordonSmith/Issue_90

Issue_90 Crash Fetching ProgramFiles environment variable

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>