Somewhere in your configuration it will reference a board configuration file for the blue pill called stm32f103_bluepill.cfg. You can add the set _CPUTAPID 0x1ba01477 to that file or, better, copy and edit file and use that.
You might need to change the interface to stlink-v2 instead of stlink-v2-1 as well.
I've attached the file I use. Remove the .txt extension (that's just to get it to work with the forum).