Only try to run umount if mount point is already mounted
Set changed flag for umount after the command has been run

It doesn't change previous reporting behaviour/output because of the
die() upon failed umount, but it seems a logically more appropriate
place to set it.