Frontend: Fix scan process when OCR is disabled

Signed-off-by: Jerome Flesch <jflesch@gmail.com>