Do not touch INSTALLED_APPS

Django 1.7 compatibility. INSTALLED_APPS can now contain references to AppConfig so iterating INSTALLED_APPS is not possible anymore.