iop: genconfig: Fix for targets with hyphens
A recent change broke genconfig for targets with hyphens. Fix this.
Fixes: a22898c9 ("iop: genconfig: Get subtarget using data from OpenWrt")
Signed-off-by: Andreas Gnau andreas.gnau@iopsys.eu
Edited by Andreas Gnau