read DISCO_MASTER_HOST correctly from settings.py and support single-quotes in configuration