findmissing: initdb_stable: Don't attempt to add entries with no upstream SHA to database

A commit into a stable release will not always have an associated upstream SHA.
Such commits don't add value, so don't try to add them to the stable database.

While add it, add space in log between error number and error text
after database errors to improve log readability.

BUG=None
TEST=Run on GCE

Change-Id: I2f1cce9c676bbbd5580eab8b1cb6b77e41a8ffe8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2207396
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Commit-Queue: Guenter Roeck <groeck@chromium.org>
Tested-by: Guenter Roeck <groeck@chromium.org>
1 file changed