Bug 2076: Handle ValueError while building security group entries for co...

...mpatibility with 1.0 release