[pacman-dev] [PATCH] sync_cleandb: ensure stat call succeeds