XCOMMONS-345: Error when installing non local extension on several namespaces
(cherry picked from commit cccc19cfd8f0c103bc166edf5f90e158c094f19b)