git_path empty handeled