Fix read GIT_HEAD and GIT_DESCRIBE from environment