As in places above, use
```
if (zone == null) {
  return null;
}
return createSecurityGroup(name, zone);
```
?