Fixed a bug that could cause an infinite loop if you used ';' to separate packages without any attributes.