Refrain from accessing country code if country is None

Proposed fix the the error we were seeing in the release relating to the embargo middleware. New accounts created after the country column was added (i.e., after January) have an empty string for `country`, but old accounts have NULL. @dianakhuang and @wedaly, could you please review this? I'll add the commit reverting the reversion of #4976 once it's available.