detect packages that aren't empty.