Cool, another case where we could use https://github.com/nulltoken/libgit2sharp/commit/4e9e033c67cdea62ef9bd76af5aded8942b5c8ed#commitcomment-2418673