setup: teach discover_git_directory to respect the commondir