Allow scoped Cordova packages to be installed #9334
Hi all - this PR is a continuation of the closed PR #7350, that fixes an issue preventing the installation of scoped Cordova packages. For example,
I've updated the closed PR to include the requested code review changes (with a few small modifications), and added some tests.
Fixes #7336. Thanks!