Gauge potential singularities and the gluon condensate at finite temperatures