Improve the handling of Soap exceptions in the extension repository (see #6912)