Attempt at fixing test failure in [ResourceMetadataManagerBeanTest.upgradePluginWithTypesRemoved].