Check type of path prior to destruction