It seems that `path` is always the gitdir here, independently from the fact that we are creating a bare repo or not.