fix crash if no environment file is set