XCOMMONS-557: Root extension listed in upgrade plan calculated for a namespace

(cherry picked from commit ff238bdd3ceb841e69e2a9dc84505bf9a6e91b48)