Handle directories in the config directory when we try to clone config
Fixing some missing PEP8ness
Merge pull request #11583 from s0undt3ch/2014.1

2014.1 tests configuration handling cherry-picks