Hello,
I investigated the issue. The root cause is assuming the repo is always a non-bare repo. Because of the false assumption, the current version tries to access the work tree of bare repositories that don’t have it by definition. I created two tickets for the fix.