[scripts][migrate_db_to_v2] Fix protocole template creation

The wrong name was used to generate the template.

Also improve handling of protocol template double creation.

If the content is different warn the user and ask
whether it should continue with the database creation.
5 jobs for fix_db_migration_helper in 38 minutes and 31 seconds (queued for 4 seconds)