Use correct method to extract image from vcard

Cherry-picked 87fa4d055c9bba8c2975adcf1672fec3f72ee065, as suggested by @jancborchardt