fn check_commondir(dir: &Path, gitdir: &Path) -> Result<()>
A commondir entry, when present, must name an existing directory (design §5.2).
commondir