[opkg] fix opkg crashes if PATH is unset