Only modify local pathnames