Guard against null value returned from getURLs()