On geometric Galois representations and abelian varieties