elseif typo
Deal with invalid encoding.
If we’re getting the latest version, don’t use version number, as the latest sometimes doesn’t exist with it.