Make importer more robust for tags

Closes #3242

- Add check for empty tag.uuid when importing
- Add unit test with empty tag export data file