Removed an internal implementation function from the export list of #"blaze.main.
Removed an internal implementation function from the export list of #"blaze.main.

Made `bazel.main:RESTART-IMAGE` function more robust.

PiperOrigin-RevId: 399445435

qitab/bazelisp,qitab/bazelisp,qitab/bazelisp