List of locales from rest

Is this line needed? It is asking the DB for a site but we already have the site.