repository: Add compat "whatprovides" method.

Fixes #10421.
Merge branch 'master' of ssh://git.ipfire.org/pub/git/pakfire