Delete .git source when running the build

This will help us catch bugs that only show up when
we run tests outside of a git checkout.