[backend] do dummy id_template substitution when generating patchinfos

This is, of course, a gross hack...