Using the current remote to get the file path

Component is currently using the first remote to try and fetch each file meaning you can't specify multiple remotes. This fixes that and means it will use the current remote to build the url.