Detecting package system

Detecting is realized same way as detecting in popularity-contest. Is necessary for some operations in popcon upload.