Log error if tags cannot be created at import.
Remove unused import.