Fix bug when SALESFORCE_DB_ALIAS not defined in settings.py