Wow, that's not like jclouds to return null rather than fail-fast. But you're right. For example, `EC2SecurityGroupExtension` will return null if it couldn't infer the region (and it won't warn you either)!

However, your code above will *always* fail for `EC2SecurityGroupExtension` at least, because `sqLoc` is null causing NPE.  See:
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/compute/extensions/EC2SecurityGroupExtension.java#L151-157
https://github.com/jclouds/jclouds/blob/master/apis/sts/src/main/java/org/jclouds/aws/util/AWSUtils.java#L205-207

Volunteer to fix what looks like a bug in jclouds `AWSUtils. getRegionFromLocationOrNull`?