Remove the unnecessary PATH.