Fix shellout to check status code, not stdout

Change-Id: I162965d5c6f7d2ef4ae7f96c766d19d414c89235