HPCC-10533 Fix EnvGen segmentation fault

  - Regression

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>