Bug 1105869 -  Add to grunt the generation of the files required to inst...

...all Loop as part of make reset-gaia
You can move the metadataF var definition inside this if.