Make opkg wrapper more resilient

This changes some behavior of opkg wrapper to be more resilient. We
only add Install command to configuration if we really installed it and
also remove it only if we really removed it. Also we warn if removed
package wasn't installed originally using opkg that it might return.
2 jobs for opkg-resilient in 7 minutes and 11 seconds (queued for 4 minutes)