Changing the package file detection.

Today’s commits [there might be another one] are brought to you by
python-pyside.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>