When called from within a git worktree, `amici._get_commit_hash` returns `unknown`. It should return the commit hash instead.
When called from within a git worktree,
amici._get_commit_hashreturnsunknown. It should return the commit hash instead.