Is it possible that this returns a null versionNumber (which would now lead to an Illegal Argument Exception in getVersionLabel)?