Bugfix run_command status check

Change-Id: Iccd6f628589961966fc9ee1555617f04f53e9d55
Closes-Bug: #1320033