Revert "AMBARI-8685 Failure handling for repo distribution. (ababiichuk)"

Possible UT failure breakge.
This reverts commit 563861f7fe2bd58c8155372c27023902cd542c37.