Whups, make it build with DEBUG again
Don't dereference env if it might be dead.