handle target root in system-agent (.target)