Writing out inventory cache as current environment name and removing -u user specification