ec2 inventory: Verify that a security group exists before trying to use ...

...its name as a key in inventory.

The ec2 inventory plugin is automatically assuming that if an instance is missing the security_group attribute, that it must be using an older version of boto.  This is not always the case.