sanitycheck: Fix an error in scan_path exception
sanitycheck: Fix an error in scan_path exception

The function error expects only one parameter. The excpetion handler in
scan_path was calling this function with multiple parameters instead of
formatting the string.

Signed-off-by: Flavio Ceolin <979b9165500b0741b9d0500e2efd74fc1547bff7@intel.com>

finikorg/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,nashif/zephyr,finikorg/zephyr,nashif/zephyr,ldts/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,Vudentz/zephyr,ldts/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,galak/zephyr,Vudentz/zephyr,finikorg/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,ldts/zephyr,finikorg/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,Vudentz/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr