This fixes an error when enabling SANE while building the udev rules files for a particular system, which was caused by #12804 (merged in 9807acb3).