Fixed blank input bug

Fixed a bug that caused a crash if you attempted to run a command
without entering anything.