Avoid downloading base package for non-existent sub package references, if possible.

When it can be proven that a certain sub package doesn't exist (this is the case when the base package descriptions doesn't contain any path based dependencies), the dependency will be skipped as invalid instead of downloading the whole package to search for the sub package there.