Fix cloning related tasks.