Unnecessary environment detection.

After the addition of `dotenv`, no need to detect the environment.