Automatically skip packages that have dependencies that can't be found

If you try to explicitly install such a package, it will still give an error
message. This fixes an issue where packages that aren't what you are actually
interested in a repo prevent installation from working because they include
dependencies that aren't found.

Fixes #599.

I'm opening this as a PR because I don't want to merge it until the next
release.