overlay: fix error invoking the opening of the path in ObjectTree.