Issue #3065388: Parse environment variables also when set through other means than the .env files we currently expect
Closes #3065388