let get_local_depends id = 
  try (lookup id).r_localdeps with Not_found -> Iset.empty