Check for null return value

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Fix remote probe engine

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>