Skip duplicate imports, fixes #38