Fix parsing of redis configuration