Following T268531: Check if `asn` value exists before attempting to display it in IPInfo, the HTML inside the IPInfo popup is something like this, when there is no ASN:
<p class="ext-ipinfo-widget-location">Saint Paul, Minnesota</p> <p class="ext-ipinfo-widget-source">Source: GeoIp2</p>
However, when there are no locations there is an empty paragraph instead:
<p class="ext-ipinfo-widget-location"></p> <p class="ext-ipinfo-widget-asn">UMN-SYSTEM</p> <p class="ext-ipinfo-widget-source">Source: GeoIp2</p>
We shouldn't append the .ext-ipinfo-widget-location paragraph if there are no locations.