avoid numerous error messages for failed runtime substitutions (#4877)

don't print error messages in regex/validation checks, the higher level
callers already print one out. also add back debugging messages in the
debug logs.
update submodule