Fix broken support for zc.buildout

This fixes #17688