This change doesn't look right. I think you may be overwriting someone else's change here. The old logic allows the default environment to be specified using an application parameter and you are undoing this change, can you explain why?