[PATCH 6/8] More deterministic detection of whether argument is a PID, PATH or NAME