Remove deployment result of a failed deployment when doing a retry in the test.
Also fix log verification that is slightly different between current and original deployment logic.