Fix crash by detecting NULL channel in url_join_only() and just returnin...

...g.