GUFI: fix code path in find_first_node()

Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>