git-archive: work in bare repos