Added fix for fresh installations.

Fresh installations comes with only .sample config files. Added fix for this.