Backward compatibility (config['RG'])

Signed-off-by: Stéphane Depierrepont <toorop@toorop.fr>
Reformat code

Signed-off-by: Stéphane Depierrepont <toorop@toorop.fr>