do not call resolver twice on (dist-)upgrade