AMBARI-8639. Distribute Repository/Install: parallel install not working. Fix unit test (dlysnichenko)