check if plugin directory exist