Il the access of .env file is refused, a PermissionError is raise. It's the case with firejail to protect the access of .env files. The code may tolerate this situation and continue to search another one.