Add check for no changes in the tree (no sub-modules)