Fix reading of local config