Bug 922685 - Local $(foreach) variable isn't set properly; r=bsmedberg