Fixed path resolving to allow place the config into nested folders instead of root