Imported bots have the same name

I am using the functionality for importing bots from a zip file like described in the SDK

bp.bots.importBot('welcome', botTemplate, false);

It appears to be working, there is a new folder in the modules directory but in the admin menu they have the same display name.
The bot configs show that too. Is it possible to change the name in the code without clicking in the admin menu?

If you are using the pipeline feature, please see the pipeline hooks to make changes to the bots before/after stage promotion.

If you are just importing, then the name is defined in the bot.config.json inside the archive .tgz. The name has to be changed inside the archive.