Use the config file in the directory returned by get_config_dir

Signed-off-by: Wieland Hoffmann <themineo@gmail.com>