tg-update: correctly return error for missing deps