Make sure empty strings don't make it into command list.