prefix_path: show gitdir when arg is outside repo