Adjusted recursive cloning code 

Adjusted recursive cloning code for non-SSH key use during cloning process.