[PATCH v2 3/8] tools: Add directory checker for updates