Fix bug in resolveDependencies().