python3-cantools: make bbappend changes conditional