remove some useless checks after calls to ast_strdupa