Fix infinite loop in MavenProjectsTree.findRootProject when there is more than one level of aggregate POMs