xml import: don't double strdup deprecated DMI attr info

Found by Coverity Scan.

(cherry picked from commit 5a3ddd0d53a8090dab5ef2d708fa23288fd6bb5e)