fallback to read-only clones for git repos