Made safe get of security_groups with nova's response

Change-Id: Ia4e6ea1a9b9a0c71760487f3717125a274d11b9f
Closes-Bug: #1320938
Merge "Made safe get of security_groups with nova's response"