Fix image reporting in ipnbdoctest