am f3e581c9: Merge "Frameworks/base: Check before foreach in Script"

* commit 'f3e581c99f33ae1857fa52b11cf9bfbfe400c553':
  Frameworks/base: Check before foreach in Script