See https://github.com/flutter/flutter/pull/60504. `pub get` on a commit that's not on a branch (in this case after history was rewritten on purpose). Should pub support commits that are not on a branch and might be GCed?