[misc] Update clirr setup
XWIKI-10618: When importing a XAR it should be registered as extension only if it does not conflict with another extension

(cherry picked from commit 528e648e649bdf17c6498e5373d955b5d80a479e)