FELIX-3481 - Fix targeted PID case where the service PID contains a pipe (|) symbol and add a testcase for the fix