Fail the build if v1 or v2 is empty or null.

By default the empty string or null is treated as the lowest version and will not fail the build. I.e.: