Revert "check executable name from /proc/pid/cmdline"

This reverts commit 2a281de8bef62d5dc0230023c7b01dbc6cb0384e.

We believe the real problem cause was fixed in bbcfd6ae and this
change causes more trouble than it solves.
Merge pull request #10 from xhaakon/master

Revert "check executable name from /proc/pid/cmdline"