get repo with @tree.repo and path with @tree.path