exec_cmd.c: replace hard-coded path list with one from <paths.h>