Handle errors during process of searching or raising cloning job,
merging two together to make cloning get scheduled when a repo is
searched for the first time.