Fixes a greedy crash when the environment path has nonexisting directories
Merge branch 'dev' of github.com:INSA-4IF-SpecIFic/elif into dev