Fix empty GIT_* environment varibles problem