fix problem with incompatible changes in component manager related to
generics in xwiki newer than 4.x