Look at the second picture, follow the barrel until it meets the point right below the scope, you can see a little nitch on the side, this nitch is something that all clones have forgotten to produce, which I find quite funny.
Either way, it pops out when he's out of ammo (Fun fact for you Maruzen owners) because every Maruzen has a mechanism that goes off or happens when you're out.