I'm no SRAM expert, but I believe that outer cap needs to remain in place to serve as a shoulder for the captive hex bolt to push against to self-extract the crank. ISIS and a number of later years of square taper cranks used a similar self-extraction system, thus mitigating the need for a separate crank puller tool.Looks like the outer cap was not removed, which might explain the appearance of the bolt. The crank should be fine, but need to be inspected. Check with SRAM for these replacements.
To the OP, as nova_rider suggests, you clearly need to see if you can source a replacement hex bolt and perhaps the outer cap.