search: make missing repo revs error actually non-fatal
Created by: tsenart
While the intent of the code before was the it was non-fatal, the actual behaviour was the opposite. This patch fixes it, so we can keep searching valid repo revs.
Part of #28028 (closed)