Fix debugger get-reg regression introduced in b4373c6b40b41d4816f178ee3a270f0094298b03