Gaugino condensation and the cosmological implications of the hidden sector