Fix numerous crashes in consumers of Windows package lists due to empty package names.

See diff for details