[MERGE] fix dbg statement to not unref ptr

Signed-off-by: David Goulet <dgoulet@efficios.com>