After review and add a fix

Fix as well an issue when the plugin contains only bin, it could appears as a _site plugin and create an empty _site dir in plugin/plugin_name/_site which is not expected