EnvironmentListCommand does need the currentEnvironment property.

Plus: simplify DomainAddCommand