XWIKI-8693: repair job does not return proper job status
(cherry picked from commit b276440a8d1ecacfb402cb66db9f2cf82aad2966)