Use image registry of plugin (to avoid having sometimes NPE).