Grab the correct version number. This is required because the build of 'latest' version uses the actual version number rather than the 'latest' word, which symbolically links to the latest version.