Move resolution failure messages to catch block in get-dependencies.