added error handling for msat_ls_sc_rpms.py