In 1.41.8 `mint build` when `--exclude-pattern` is specified (e.g. `--exclude-pattern=/var/lib/postgresql/data/**`) leaves empty dirs. With 1.41.7 no empty dirs preserved.