The issue can be reproduced on ee-6.2.x. And it can't reproduce on master because resources-importer-web doesn't invoke the import process. But master's logic is not right.
1. Start one clean bundle.
2. In Liferay site, add asset publisher portlet in welcome page, click configuration->select scope->choose one site. in this process, we only want to scopeIds attribute exist in asset publisher configuartion. You can view the data in the preferences field of portletpreferences table.
3. Export the liferay site.
4. Place the lar in our portlet \WEB-INF\classes\resources-importer\, name the lar for "archive.lar".
5. Import the portlet (import-lar-portlet-18.104.22.168.war), the issue can be reproduced.
When asset publisher configuration doesn't includes the scopeIds attribute, the lar can be imported successful.