Treeportlet: Only try to load the tree if there is a treeportlet.