Don't fail when the local repo is shallow