Use procutils.which instead of reinventing it
Remove pyflakes warning.  Also, thanks to dash for pointing out the last part