Catch 'empty scan' corner case.
Output build logs in no-cache code path.