Handle directories in the config directory when we try to clone config
Fixing some missing PEP8ness