composer: Fix array out of bound

Change-Id: I43752318a47e400139251302555197b11c7d041a
1 file changed