Let's look at the formula for a finite geometric series first. If $a$ is the first term, $r$ is the common ratio, and $n$ is the number of terms, then your sum is equal to $a\frac{1-r^n}{1-r}$. Now, if $|r|<1$, we can see that as $n$ goes to infinity the $r^n$ term disappears, leaving the familiar formula of $a\frac{1}{1-r}$. So, the infinite geometric series sum formula makes the assumption that $|r|<1$.
With the finite geometric series sum formula, we can rewrite as follows:
$$a\frac{1-r^n}{1-r}$$
$$=a\frac{r^n-1}{r-1}$$
$$=\frac{a}{r-1}r^n - \frac{a}{r-1}$$
Remember, an infinite sum is just the limit as $n\to\infty$ of a finite sum.
Now, we know that the infinite sum assumes that $r^n$ goes to 0. If we assume that the first term goes to 0 even though it doesn't, we end up with the second term of that last line: $$\frac{-a}{r-1}$$
If you look at the terms individually, you can see that as $n\to\infty$ the first term goes to infinity. In a sense, you can think of that number you get as "ignoring infinity's contribution" to the sum (though this idea is very informal). It's what the sum would have been if the first term disappeared like it does when $|r|\lt1$.