Camera: Avoid the crash if fail to find value

If fail to find value, set index to 0,
which can Avoid camera crash.

Crs-fixed: 540594
Change-Id: Iedad101b8f065dbacac4b1203a378cad9c4bc62c