Fixed path_abs2rel function for case of watch-dir == "/"