in project-oriented vcs, use Pathname#ascend to detect if #its_a_repo?