checkout: Fix "initial checkout" detection