To access the HK Factory in Knights of the Old Republic II, you'll need to install the Restored Content (Restoration) Project mod. That mod adds back a large amount of cut content, including the HK Factory area, so downloading and installing it is the way to reach it.