rustpkg: Re-enable some tests

Re-enable test_install_invalid_external and test_install_invalid

Also improves an error message

Closes #9994
auto merge of #10369 : catamorphism/rust/issue-9994, r=alexcrichton

r? @brson or @cmr or @metajack or anyone else who is around