Activity: Add check to target before redirection.

Again. parse_url() can return without a 'host' key and we don't want any notices in our code.