opkg: fix package state detection
Merge pull request #60 from mchwalisz/devel

opkg: fix package state detection