Add fallback for findPackage(s) for repo without provider

This was introcuced in a4d43ee8605e8c48d8a8b277720dea9f92119d82, but is missing the fallback for a repository without providers.
Merge pull request #3363 from aaukt/master

Add fallback for findPackage(s) for repo without provider