Gracefully handle incomplete version strings in isValidVersion().