fixed a bug in collectXmp that occured if no relative target path could
be determined for an xmp sidecar file