Fix bug where we continue parsing version number after complaining it's not present, and crash