Fix incremental update.

Fix some cases of repositories merging.
Print processed packages.

Print the number of packages processed during an incremental update.