Strip pwd from paths