magit-filenotify has a build-time dependency on git, fix this in same way as magit by adding override