Do not retry replications with UnknownHostKey

Fixing this error requires restarting Gerrit and retries don't
persist across server restarts.

Change-Id: I37c6b0de80b600106f4b0d07311a0021fddda590
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
index 5b6daea..16d4266 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/PushOne.java
@@ -295,10 +295,9 @@
         log.error("Cannot replicate to " + uri + ": " + cause.getMessage());
       } else {
         log.error("Cannot replicate to " + uri, e);
+        // The remote push operation should be retried.
+        pool.reschedule(this, Destination.RetryReason.TRANSPORT_ERROR);
       }
-
-      // The remote push operation should be retried.
-      pool.reschedule(this, Destination.RetryReason.TRANSPORT_ERROR);
     } catch (IOException e) {
       wrappedLog.error("Cannot replicate to " + uri, e, getStatesAsArray());