Removed unused path branching for various distributions, and moved awk magic out of path set function