Fixed empty security group name

Using the region option the scripts seems to not be able to resolve security groups names using the reservation object. Resolving security group names using the instance object seems to work.