Return undef when no command could be parsed