[rundir] add support for running directories in $PATH