[config] Remove internal awful CamelCase.
[config] Remove old commented code.
[config] PEP8 80chars limit.
[config] Use os.path to retrieve basename.
[config] Remove unused parameter.