Revert "dir -> repoDir"

This reverts commit ae9dea82b83a9b530d4cfca893f72d247b65071e.