This is a good test, but you might consider indexing `git.getPath()` to a maximum depth of 4, which should include that node, plus the `{node}/tree/master/` node and its children. That shouldn't be too expensive.