Fix crash when no dem url provided.