[test_getDefaultPluginPath] Remove a needless length check in data_getDefaultPluginPath()

It breaks the test.