git-patch-id(1) crashes without a repository
We have recently stopped setting the default hash algorithm in Git repositories. This change also makes us crash hard in case the hash algorithm has not explicitly been initialized. This now causes segfaults in git-patch-id(1) when executed outside of a repository.