Electro-optic analysis of the influence of target geometry on electromagnetic pulses generated by petawatt laser-matter interactions