fixed overlapping packages in os and virt
added detection code for overlapping packages
fixed issue with missing .sig file under some circumstances
removed some Perl'isms that made code hard to read