Error when importing Native XML via CLI

I’m trying to import archive issues for a journal that moved from one OJS installation to another (both are on OJS 3.3). When I try to import using the cli, I get the following error:

PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/
Stack trace:
#0 /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/ NativeXmlSubmissionFileFilter->handleElement(Object(DOMElement))
#1 /var/www/html/ojs/lib/pkp/classes/filter/ NativeImportFilter->process(Object(DOMDocument))
#2 /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/ Filter->execute(Object(DOMDocument))
#3 /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/ NativeXmlSubmissionFilter->parseSubmissionFile(Object(DOMElement), NULL)
#4 /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/ NativeXmlSubmissionFilter->handleChildElement(Object(DOMElement), NULL)
#5 /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/NativeImportFil in /var/www/html/ojs/lib/pkp/plugins/importexport/native/filter/ on line 113

Of potential interest: I also tried importing an issue via the Native XML plugin through the web interface, and it worked fine. But when I tried importing that same issue via the cli, I encountered the same error as above.

Can anyone help me understand what might be going wrong and how to resolve it?

What application are you using?
OJS 3.3.0-16
PHP version 7.4.33