fix(libraries): enhance the `computeBranchFromPR` method (#3474)Ignore the inherited params for cherry-picked pull requests. (commit: b82a8bf)