Package Manager takes 4-5 minutes to resolve a few (already downloaded) packages

Xcode needs to stop "resolving packages", it's utterly broken at this point. It takes several minutes to resolve packages that's already downloaded. And this is a common occurrence when switching branches to review pull requests.

It can't possible take 5 minutes to check the git commit hash of 10 repositories.