Fix ValueError when /var/lib/yum/groups/installed is empty. BZ 971307