Ticket 47788 - Only check postop result if its a replication operation
Bug Description: With IPA tests, without using replication, an error is
being triggered that is stoipping nomral updates from
going through.
Fix Description: Move the error checking up into the code block above
which only executes for replicated operations.
https://fedorahosted.org/389/ticket/47788
Reviewed by: nhosoi & tbordaz(Thanks!!)