Fix fetching of all recursive dependencies in one go.