Hum, this is bad, thanks for opening the issue.
Apparently, we had no real unit tests for that, which is even worse.
I will also promote the log message to WARN as DEBUG is definitely not enough.