fix #3492: empty strings added to capability list