Fix out of bound error in for loop.

Status Job ID Name Coverage
  Build
failed #5285
build

 
  Deploy
skipped #5286
allowed to fail manual
deploy_production
 
Name Stage Failure
failed
build Build There is an unknown failure, please try again
No job log