Use Platform.version even when running from the repo (#1897)
Use Platform.version even when running from the repo (#1897)

Follow-up to https://github.com/dart-lang/pub/commit/3d7ae0cdf0
Hopefully really fixes https://github.com/dart-lang/pub/issues/1887
dart-lang/pub,dart-lang/pub