releasetools: make sure we mount/unmount system

Change-Id: I01f33551718aca96f74bb8e9291644e6b74a84fe
(cherry picked from commit 5783c578f9f0264b388f12638f4b2b9cc96675a6)