Fix exporting yaml in pkg info -R in case multiple deps has the same
name