You have to remove the flash hider to install the retaining ring.
I did a similar restoration and cut the bottom of the ring to bend it over the barrel. It worked well enough as a temporary part until I found an intact flash hider and felt like replacing it.