Use EnvVars type and prevent null.
Remove obsolete TODO: STDERR may be read from outside where exception is catched.
Remove unused import.
Finishes get repo test.