Handle git repos that are on (no branch).