Add is_local_path check to pip module, for skipping --use-mirrors