acu113132 changed to copy metadata.json out to tmpdir instead of scraped repo directory to avoid confusion