Correctly fill configuration directories.