rustpkg: Add test that the CWD doesn't have to be a workspace if rust-path-hack is enabled