Fix _get_repo_tasks() to use tasks_search() instead of task_search().