Correct error message when checking version number

Change-Id: I2699a5b2892b16a4411e2c5837c6df0ac94e2b80
Merge "Correct error message when checking version number"