Fixes #6567 put the git wrapper script in the module temp dir