Revert "[TASK] outsourced native getenv call to wrapper method (for unit testing)"
Revert "[TASK] outsourced native getenv call to wrapper method (for unit testing)"

This reverts commit 184d0ffa6f5fa4a980a0c6195570dba8fe6f374a.

Currently static method calls a hard to test and if conditions against environment
vars too. Switched back.

higidi/t3ExtCLI