Fix overreported installed package count.