Fixes cloning not working properly

How did this even happen i dont know
Merge pull request #2262 from Razharas/NoIReallyCant

Fixes cloning not working properly