I took a look at this and it seems true enough looking at the code as it exists now.  I would suggest a thorough history audit to make sure that these vars were never set and the break that @ruebot noticed didn't happen earlier and remain unnoticed until now.  If such a break did occur, it is simple enough to write an update hook for the issue which could be handled in another pull.