The OP gave no clue as to the frequency at which the ripple appeared. So we are in the dark with respect to that. As usual we are hamstrung by poorly defined issues.That applies to AC sine wave ripple with a frequency of about 100 Hz. At high frequency, where the loop gain has rolled off, it has ZERO rejection.