XWIKI-9758: Race condition when upgrading an instance previously configured with "Upgrade all wikis"