Seems a little weird that we need to check for `this.imageRegistry` so much here. Is there a way to make sure it's present earlier in the flow?