Fix permissions error on kdeploy clone