reduce cyclomatic complexity of faster_pip_packagefinder