Dielectric breakdown in media with defects