Handle misformatted versions with a nicer error message.