You can easily prove that if $A^n=0$:
$$(A+I)(I-A+A^2-...+(-1)^n A^{n-1}) = I +(-1)^{n-1} A^n = I$$
Thus proving that $A+I$ is invertible for any nilpotent $A$.