Compare text and match to None instead of checking boolean value when setting input.inp.

This prevents errors when a command is run with no input