Use the --add_import option from isort
Instead of our search for the import line and insertion:
-a ADD_IMPORTS, --add_import ADD_IMPORTS
Adds the specified import line to all files,
automatically determining correct placement.