[automerger] Fix possible out of bounds read am: 3762e06152

Change-Id: I8bfce5324c52c2203a8f4d3a88ee8c1734114992