Prevent Ruby error if the country can't be found

If generate_url_for_download is called with a country that doesn't
exist, it was raising a Ruby error. This prevents that.