metalink_cleanup: yet another follow-up fix