An extension that uses the package in this way will unfortunately not work if added to the marketplace at the moment.
Would it work if the user happened to have the packages installed in that location though? That would provide a workaround - just add an instruction to the description/README to make sure the packages are available in that location. Or are you saying that the import would somehow be blocked if the extension were installed through the marketplace?