Fix regression on plugin delete

Merge:	releng/9.1.0
(cherry picked from commit 205932d62111005d066507a2006ed58edd609c89)