fix: take into account a nil returned by get_parser
#518
+1
−1
nil returned by get_parser
#518