OS-3133 fix exit status (non-zero) on reprovision failure