Had to add this check since _cloneCdnRepo is now called twice and would abort on the second call.