Bugfix: Prevent configuration paths to contain python keywords
Merge pull request #7781 from germangh/master

BUG: Prevent config paths to contain python keywords