change to use dependency name rather than repo name in component.json

Seems some components don't have repo in correctly, so I changed this to use the dependency instead.