after a successful run of the tar command, tries_left is set to -5
Thus, this is the correct check.

I will restructure the thing to make it easier to understand.