scripts: target-metadata don't add PROFILES twice