Fixup for issue 9565

Remove unnecessary else block so right not it's never used.