Fix fetching by gathering the reponame from the remote package