Bug 2076: Handle ValueError while building security group entries for compatibility with 1.0 release