diff --git a/Remote/Git.hs b/Remote/Git.hs
index 6308f5cd64..a493d3d68b 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -192,7 +192,9 @@ tryGitConfigRead r
 	| Git.GCrypt.isEncrypted r = handlegcrypt =<< getConfigMaybe (remoteConfig r "uuid")
 	| Git.repoIsUrl r = return r
 	| otherwise = store $ liftIO $
-		readlocalannexconfig `catchNonAsync` (const $ Git.Config.read r)
+		readlocalannexconfig
+			`catchNonAsync` (const $ Git.Config.read r)
+				`catchNonAsync` (const $ return r)
   where
 	haveconfig = not . M.null . Git.config