It's actually redundant.

The redundant code will be removed in v1.6.0.

Leaving it as-is is harmless. THERE IS NO NEED TO APPLY THIS TO EXISTING SITES PRIOR TO UPGRADING TO 1.6.0

THIS IS NOT A BUG. Merely inefficient code, probably leftover from some legacy components.