Fix failed migration reporting a success too (OMS-188)