Used the wrong variable in find_repo_pkg