fix: possible NULL pointer dereferencement on umount(1)