Handle empty alternatives.

Signed-off-by: Etienne M. Gagnon <egagnon@j-meg.com>