fix issue with unexpanded variables in local config