Support teams with just a single subnet

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>