Added fallback to default to localhost if the redis configuration block is missing or empty in config.yml