[Test] fix plugins: `bin` and `config` only plugins do not install correctly

Related to #7152.