Fix status when there are no commits