uSDaemon: bugfix assign variable before use it

Signed-off-by: Federico Vaga <federicov@linino.org>