Could you please add a `bool throwWhenNull = true` parameter (à la **[IntPtrExtensions](https://github.com/libgit2/libgit2sharp/blob/vNext/LibGit2Sharp/Core/IntPtrExtensions.cs#L10)**)?