changes

Testsuite is not enhanced to test new behavior because testing framework
current doesn't support different root and it is not worth it in current
state.
Adapt system agent to respect targetRoot
fixes as suggested by mvidner