[BazelBot] Use files as ref format until we have support in PyGit (#969)

Relanding https://github.com/llvm/llvm-zorg/pull/942

Using env variable this time so older git that don't understand the
option don't crash.
2 files changed