SoftwareDeployments tolerate string zero status code

When evaluating the status code, we treat 0 as OK, but '0' as
a failure, which is inconvenient when returning the status via
shell scripts, so tolerate either format.

Change-Id: Iddac03e38ae87b1103757531ee0247929f9584ac
Merge "SoftwareDeployments tolerate string zero status code"