How do I vary PathAuto paths based on a field?
The easiest approach is to define a custom token using hook_token_info() and hook_tokens(). Based on the venue, you either return the country code or nothing. If the token has no value, pathauto will automatically clean it up and drop that part.

Pathauto tokens for taxonomy terms except root for example has some hints on how to implement custom tokens.