fixes #2413 issue with null location if no network

nuff said