Image currents in azimuthally inhomogeneous metallic beam pipes