Remove redundant null checks in DependencyVersionResolver
Remove redundant null checks in DependencyVersionResolver

We're never passing null because if we were, a SEGV would happen earlier.
But just in case, add a few asserts.

Geod24/dub