fix application crash when a branch has no comitter