MDL-38109 use always get_plugin() to get list of plugins

get_list_of_plugins() is NOT intended for real plugins, only plugin like directories.