strange __getInfo bug is resilient. Seems to fire when the basemap is delayed from esri. This prevents the spatial reference from getting added and causes map.spatialReference.__getInfo to fail when it is eventually called on a resize event.