remove dupe wikidev logic for lucene role

Change-Id: I6d93b5946aa0f70df150ef6ea4469b236eac6825