Strip whitespace from the image version on Windows before using it.
See https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/README.md