brew-server: fix reference to removed method

Fixes #20744.