Relax check for WFMSubAgent to prevent only chroot for non scr agent

Reason is that WFMComponent use WFMSubAgent also for local namespace
that provide only SystemAgent. So original idea that SubAgent is used
only for scr is not valid.
improve logging when something goes wrong (and one memory leak as bonus)
fix assign component so non-chroot component is properly created