return true only is matching secgroup found, fix for test_vm_with_sec_group test failure

Change-Id: Ic50cc44f741c21a222b21ddd32c7ca506cc240cb