Fix registry lookup
Fix registry lookup

If a model class is used instead of the applabel with model name, the
method failed to return a configuration in all cases.

pivotal-energy-solutions/django-appsearch,pivotal-energy-solutions/django-appsearch,pivotal-energy-solutions/django-appsearch,pivotal-energy-solutions/django-appsearch