use None instead of '' when Container.id or Image.id is not known