Fix to read the settings module specified by --settings or django_settings parameter