HPCC-12183 component cleanup with HPCC-12093 dependencies

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
the working directory for this portion of the script actually is in instancedir, so the symlink is created in the same location as the thormasters symlink.