cocci: apply the "refs.h" part of "the_repository.pending"