vcshelper: better consistency checks for sparse/non-sparse checkouts