Allow passing an optional argument to git ls-files.