Check explicitly if project state permits read

Change-Id: I8bd880b02897b1a4efb36ad430e70465b924be68
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
index 7128329..45071bc 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/Destination.java
@@ -260,6 +260,9 @@
                   if (projectState == null) {
                     throw new NoSuchProjectException(project);
                   }
+                  if (!projectState.statePermitsRead()) {
+                    return false;
+                  }
                   if (!shouldReplicate(projectState, userProvider.get())) {
                     return false;
                   }