Change return type of ResolveGeogitDir from URL to Optional<URL>