Fix exporting yaml in pkg info -R in case multiple deps has the same
name
Properly calculate how many packages where removed