Fix segfault in parseCommand if no command name is found at end of file

Besides fixing the segfault, it assigns the `cmdProcessed` return value properly.

Fixes: fishman#72