Actually check the exit status code
Merge pull request #16599 from akatrevorjay/pull-req-cloud-scp-status-code

Cloud: Check the exit status code of scp before assuming it has failed.