opkg: fix option array handling