Exit with code 1 only when the command was not recognized