Fix off-by-one error and erroring if can't download config even if it's already local