1096931 - improving repo update command to better detect spawned tasks

https://bugzilla.redhat.com/show_bug.cgi?id=1096931

Please review with other PRs on that BZ.