Remove PREFIX from the paths.