Remove duplicate check for invalid version.
Project version is now set inside task instead of GradleProperties.