unpack-trees: factor progress setup out of check_updates