[gitsync] Small fixes to make it work in K8s and more logging
[gitsync] Small fixes to make it work in K8s and more logging

Bug: skia:8665
Change-Id: Ieeffa2096b21bbf65435932e72ab46a75ec743e0
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/200485
Reviewed-by: Eric Boren <0e499112533c8544f0505ea0d08394fb5ad7d8fa@google.com>
Commit-Queue: Stephan Altmueller <43343ec95731c0e8daa7359daf7f2f3935582b24@google.com>

google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot,google/skia-buildbot