registry cachehook: add talloc failed debug messages.