Release 4.0.1
Fix search behavior and tests for bare repos.