Fix unmounting images on non-root accounts