Fix repo and sdk download