provider/local: fix test failure
Fix bug introduced by zealous refactoring