XCOMMONS-372: Removed local extension does not properly clean reference to its features in local repository cache
(cherry picked from commit d3a38f4c07d81e39bc7e7cacb3663fcfa3d4b03e)