fixed for #7323, trim the license short name and full name, also return error msg when the licesne shortname is empty.
2 scripts to get which licenses nomos can return.
monk full text license scanner