Ensure we only have the last line from the shell command when exporting STIX2
Ensure we only have the last line from the shell command when exporting STIX2

Same as  e3b1e8c74a0b40cdb54be938bcea4d9b28a7f0b9 but for exporting STIX2
MISP/MISP,SteveClement/MISP,SteveClement/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP,MISP/MISP,MISP/MISP,SteveClement/MISP