Show depth option only when repository is shallow