assertTrue(String.format("tree '%s' (%s) is not present", path, repoTreeId),
objectDb.exists(repoTreeId));
RevTree tree = objectDb.getTree(repoTreeId);
Iterator<Node> children = tree.children();
while (children.hasNext()) {
final Node node = children.next();
if (TYPE.TREE.equals(node.getType())) {
path = NodeRef.appendChild(path, node.getName());
ObjectId objectId = node.getObjectId();