minor bug fix for --reg-read
no need to repeat the debug message each time this function is called
avoid tracebacks because the parameter does not exist