#4599
Merge pull request #4667 from dotCMS/issue-4599-The-system-is-not-selecting-automatically-the-environment

#4599