tests: scrub environment of GIT_* variables