Fixed bugs with local config check on OS X