Command to list all environments from NetworkAPI; method that returns the environment related to the zone; fixes