master: fix warning in GraphOld.pm

Commit 594b07b14e24c262358ec0edfec8e7771bce5ad3 re-enable debugging output in
GraphOld.pm, but emits a spurious "WARNING"

This commit fixes it.
Merge branch 'fix-debug-graph' into stable-2.0