[addons][Fix] Make the auto update of addons work again.

This fixes a regression introduced by 2b35f385c5d62d19b6857b1baf56f0d509f51545.