Remove some extraneous paths.