fetch: move `Component::from` outside of loop
The previous code would convert the remote into a Component on
each iteration of the loop.
The conversion now happens outside of the loop and can be reused.
The previous code would convert the remote into a Component on
each iteration of the loop.
The conversion now happens outside of the loop and can be reused.
Rebase