Fix an exception when entering commands without arguments