checkout: avoid using the rev_info flag leak_pending