#93393Tree Controller may return duplicate pagetypes
Description
We encountered the problem while using blog extensions.
We define the order of the pagetypes in our own extension via typoscript and since our customers create very often BlogPosts it is further up in the order. The extension itself adds the pageType via `addUserTSConfig` at the end of the order.
This gives us the same entry twice.
An array_unique call would help here