raise exception if there is no git message