Fix creation of multiple subdirectories in .config