This fixes unmounting with gentoo. This function will be use by the installer to unmount the image after the build.