addCommand() Correction

When the newline sanitization code was added a superfluous Command was
created. The Command's name wasn't properly trimmed.