Improve the check_scm function

Change the return value, value 'message' is enough.

Change-Id: Ife6543139207c880928d14663fc65dbb8ee94172
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>