Bug-fix in verify _security_group

Instead of returning True under the condition which matchies the security-group-name,
the bug returned outside the condition check.

Change-Id: I63ea8a222257da4bb9d9f6693dbf71724a49c37c