fix remote command execution output

Change-Id: I6c0aa1988c2806de5668897a7090c19c26d8dd27