NXIO-152: display an error if the environment name is not valid