To replace the similiar umount logic in unmout image. Change-Id: Ia2105a48bbed00ba2571b442e216fccfbcc17f01