Fix usage of pgrep