Bug fix - avoid network checking a null URL