Fixed a null pointer exception when generating a mininet configuration
from a network environment without a name.