U: improve judgement condition of package.json request via statusCode