solr mod: fix apparent incomplete var renaming: name->core

discovered via pylint W0631
fix other instance in this file
Merge pull request #5157 from cvrebert/patch-2

solr mod: fix apparent incomplete var renaming: name=>core