Closes coop-cloud/organising#367
See https://github.com/go-git/go-git/issues/518 for why this is needed.