XWIKI-8693: repair job does not return proper job status
Add more steps
(cherry picked from commit 95ac2b0f7244673741cd3b9f675d65876ed85f13)