Fixes ATR-21962. I hadn't realised that master was still being built in python 2 and used f-strings...