os-prober: fix 1813393 and remove conflicting directory at pre-install.