CherryPick from mainline
Related commit #
https://github.com/Juniper/contrail-controller/commit/c27181ce1c24b21f43a1361dd7996a0a29612105

Bug 3068 - Security group id zero, even the agent ifmap shows a value '7'.
Skip config with sg id as 0.

Change-Id: I8240c465eaab087a9eebb507f8c020ce51ea2c67