Fix: -e switch has no effect when only one environment defined