You are misinterpreting Berger's theorem, it's not even true for compact Riemannian manifolds. See *On compact Riemannian manifolds with noncompact holonomy groups*, Burkhard Wilking. J. Differential Geom. Volume 52, Number 2 (1999), 223-257.