Fix Error "undefined index: file_target"

Added isset for error:
```
Undefined index: file_target at /var/www/owncloud/lib/private/share/share.php#1911
```
The code possibly means if a target is set, then we also export the path. Somehow.
This was refactored from old code, I can try and check what it looked like before it was moved here.