fixed issue where a missing config.json would end up suggesting 'undefined' as a base_url