Resolve unbound variable in kernel buils script

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>