Bug 451566 - DefaultRepositorySystem.resolveDependencies() fails with NPE when dependency collection fails early and yields not even a root node

Skipped artifact resolution step if dependency collection didn't yield any nodes and allowed underlying exception from collector to bubble up