isl_transitive_closure.c: construct_extended_path: handle NULL input