cmd: Fix out-of-bound access when parsing commands that start with >.
cmd: Don't check for quotes past the start of the command.