export: Restore support for empty TARGETS list
Refactoring in !3137 (merged) broke the export
command's support for specifying TARGETS
with no entries. Fix it and add a test case.
Fixes: #19415 (closed)
Refactoring in !3137 (merged) broke the export
command's support for specifying TARGETS
with no entries. Fix it and add a test case.
Fixes: #19415 (closed)