We don't really need the .git directory to be transferred. This problem was introduced in the PR: "Run the update-staging-godeps script inside a docker container" Fixes #50272