HPCC-12183 component cleanup with HPCC-12093 dependencies

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
Unless I'm missing something, looks like the , if localthor branch, ends up calling this as well..
The above 3 lines Should be in the else branch above I think.