Fix -subnet so that it is ignored if blank

This fixes the issue where otherwise you get a bad net error.