Homotopy groups of moduli spaces of representations