improve logging of private variables
fix variable registration (gh#yast/ycp-killer#576)