Don't fail because sys.path has duplicate entries. Fixes #337