[3.8] Fix #1563 : Explicitely declare the default environment to be Application::ENV_PROD