checkout: Add --no-patches argument to not apply patches.