Fix incorrect catch in MergeItems api module

Change-Id: Ib829d2888994a50edcbf402df8dd9c11b8bf6165