Introspec to take sg_id, sg_uuid or empty string

Introspec chnage for security group and corresponding unit test cases.