don't add None to source_group list

When one security group has another as the source group, there is an exception.  It dues to a bug in parsing, but adding a check here fixes the problem.