Account for possible empty strings in network ranges

Signed-off-by: Rob Day-Reynolds <rdayreynolds@pivotallabs.com>