Fix syntax error in path_funcs.sh