Fix bug when configuration dir doesn't exist.

The configuration directory must be populated with the
default configuration.