Handle pre-command options with spaces

Commit 186216a broke option parsing with spaces (ex: rock --runtime
node08 run node --version), this fixes that.