Fixes #3608, TB details empty

- moved url null check to beginning of image fetch.