[console][input] Fix IndexError on missing option (closes #4)