HPCC-12183 component cleanup with HPCC-12093 dependencies

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
we probably don't have common methods for extracting info. like this from environment.conf, but would be cleaner if we did. Don't know how many other places extract like this, but a hpcc_common method like this would be better:
```
local HOME_DIR = getEnvSetting('home')
```