Fixes duplicate use of -w for --networks and --ssh-gateway, ssh gateway now uses -g