Uh, interesting why PWD is not set... anyway... I think if PWD is not set, we should setup greHome to BUILD_GRE_HOME or something else in there