Issue #2603372 by heykarthikwithu: Remove unused variable in LibraryDiscovery::getLibrariesByExtension()