core (redeploy): ensure container list is mutable before adding registry container