Fix bug in last commit with incorrect config fetching