Avoiding removal of addons in immutable repositories