inotify: use stdout from "git ls-files"

Signed-off-by: David Aguilar <davvid@gmail.com>