simplified revdep_check