Fix public repo checkout issue