Remove the reference to already deleted folder.