throw an error if we cannot determine the latest version