[Server] Fix a crash case for Rescan()

Signed-off-by: Regis Merlino <regis.merlino@intel.com>