orphans-opt: consider provides when checking if is orphan