XCOMMONS-580: Repositories order in xwiki.properties is not respected anymore

(cherry picked from commit 6bd416bd495ed3972a8557a9ee67196c0545edca)