Fix getNewVersionName in build.gradle