It's normal you'd arrive at the wrong answer in this case. The problem is that your index is wrong.


$$\pi(s)=E(S^X)=\sum^\infty_{i=1}q^{i-1}ps^i$$
$$= ps\sum^\infty_{i=1}(qs)^{i-1}=ps\sum^\infty_{i=0}(qs)^i$$
$$=\frac{ps}{1-qs}$$