Tweaked get-version target.