Resolve relative path to config file.