Bug 1072721: Fix divide by zero and duplicate messages in rhc scp command