Characterization of weakly excited final states by shakedown spectroscopy of laser-excited potassium