Add an option to strip_local paths.