The repository by itself is bare, but you've made your instance non-bare by giving it the workdir, which is what's missing in a bare repo.