check whether node really does not exist, delete empty directories although when associated node does not exist