Sometimes the attribute 'options.target' is not a string and is an object like:
{
"protocol": "http:",
"slashes": true,
"auth": null,
"host": "some.hostname.fake",
"port": null,
"hostname": "some.hostname.fake",
"hash": null,
"search": null,
"query": null,
"pathname": "/",
"path": "/",
"href": "http://some.hostname.fake"
}
In this case is necessary to access to the attribute 'options.target.href'.