Delete not existing directories in paths