commit -S: avoid invalid pointer with empty message