Catch error results from execute() and don't implode on non-arrays.

Needs proper error handling
Merge pull request #1564 from GawainLynch/hotfix/CommandRunner-implodes

Catch error results from execute() and don't implode on non-arrays.