def pipfaster_packagefinder():
<EOL>try:  <EOL><INDENT>from pip._internal.cli import base_command<EOL><DEDENT>except ImportError:  <EOL><INDENT>from pip._internal import basecommand as base_command<EOL><DEDENT>return patched(vars(base_command), {'<STR_LIT>': FasterPackageFinder})<EOL>
Provide a short-circuited search when the requirement is pinned and appears on disk.

    Suggested upstream at: https://github.com/pypa/pip/pull/2114