diff --git a/lib/librarian/source/git.rb b/lib/librarian/source/git.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/source/git.rb
+++ b/lib/librarian/source/git.rb
@@ -124,9 +124,8 @@ module Librarian
       def cache_key
         @cache_key ||= begin
           uri_part = uri
-          path_part = "/#{path}" if path
           ref_part = "##{ref}"
-          key_source = [uri_part, path_part, ref_part].join
+          key_source = [uri_part, ref_part].join
           Digest::MD5.hexdigest(key_source)[0..15]
         end
       end
Improve caching: same git repo/ref and different path = single cached copy.