Whilst in my illness-induced-stupor I decided to poke around on the directory handler for KSP-Modular. I think I have it fixed. More testing will show in time.
There were some problems with the regexes for determining when it was working with the base of the drive. There were also some problems with adding proper backslashes.