HPCC-12183 component cleanup with HPCC-12093 dependencies

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
feels like a few too many variables here, you could unify on single mpid couldn't you , e.g.
```
getPid ${cpidpath}
local mpid=$__pidValue
if [ $mpid -eq 0 ]; then
  getPid ${PIDPATH}
  mpid=$__pidValue
```

is that equivalent ?