Fixing #14778 - When mount is True we need to ensure the directory exists

When mount is True we need to ensure that the mount point exists otherwise the mount command will fail.