Fixes solr indexing on local/remote builds