Fixed bug for paths on servers with Trident in a subdirectory.