Fixed an issue when listing plugins.