Ensure project cache state during revert of rename

Since I3724dfead the project cache caches non-existing projects. During
the revert of a rename, this caused indexing of changes to fail, since
the cache entry of the old project was outdated.

The cache entry of the old project is now evicted as part of the cache
revert. This removes the entry that was created, when the project was
renamed.

Change-Id: I3abc0f1669949324cfc1cc4ea7322e230a556779
diff --git a/src/main/java/com/googlesource/gerrit/plugins/renameproject/cache/CacheRenameHandler.java b/src/main/java/com/googlesource/gerrit/plugins/renameproject/cache/CacheRenameHandler.java
index 5b16875..af848bf 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/renameproject/cache/CacheRenameHandler.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/renameproject/cache/CacheRenameHandler.java
@@ -33,6 +33,7 @@
   public void update(Project.NameKey oldProjectKey, Project.NameKey newProjectKey)
       throws IOException {
     projectCache.remove(oldProjectKey);
+    projectCache.evict(newProjectKey);
     projectCache.onCreateProject(newProjectKey);
   }
 }