bugfix: ipc:define crash when called with nonexistent process name

also fixed the same bug in the other ipc: functions