I'm not certain what you are trying to do, but there may be alternative to modifying avrdude.conf
https://forum.arduino.cc/t/bootloading-a-atmega328-u-amel-35473d-via-an-uno-board-signature-error/703715