handle target root path in system agent (.target)