Fix using an invalid configuration in DependencyResolver when validating dependencies.

This was caused by the fix for #359.
Fix UpgradeOptions.printUpgradesOnly. Fixes #323.

This commit disables fetching upgrade candidates and prints a message for each upgradeable dependency instead.