Merge "Fix the NPE when input a wrong package" into sc-v2-dev