Another attachment attempt
Prevent NPE when url is empty on openThread (wtf though)