Fix in ProcessFactory: make it handle home dir correctly (tilde char)

Signed-off-by: Frank Mertens <frank@cyblogic.de>