Adjusted umount handling in bailout() to work with set -e