Only unmount directories that are mounted
Only unmount directories that are mounted

To avoid failures with double unmount, skip unmounting
the mountpoints that are managed by block device.

Change-Id: I228779eb9bf544a27a53e5017c87573023fd375a

switch-ch/diskimage-builder,openstack/diskimage-builder,switch-ch/diskimage-builder,openstack/diskimage-builder