Prevent Twig Lexer throwing exception on dump function