rustpkg: Fix fetching remote packages

Closes #9193
auto merge of #9741 : catamorphism/rust/rustpkg-remotes, r=cmr

r? @cmr Closes #9193