pkg-diff: Making it working in real life ;)

When running pkg-diff on a big list of packages it failed for several
reasons:
- the computed string was too big
- some grep were invalid and matched several packages

The solution is
- to process package in a stream mode avoiding setting up
long string
- fix the grep to insure a single package is matched