withVerifyDir is not required for gitDirectory and breaks support for bare repos

Maybe "withVerifyDir repo" is still required?