fix #2141
check filesystem before trying to open plugin + only report unique directories searched - closes #2131

Conflicts:
	src/datasource_cache.cpp
only return true if plugins are actually newly registered