fix deadlock when hardlink is matched by g_exclude_delete