The kepi was probably prepared as a prop just for the photo. Often,the weapons shown in soldiers photos are also props and are provided by the photographer. That has been done in soldiers photos from the time photograpy was invented to the present day.