You're quite right this detection method fails when no Hashi plugins are installed. I updated the PR.