Fix empty commit error