Fix and rename function to select the plugin name
Remove '.git' suffix