Run t/gitignore.t only if git is installed and .git present
Also add build-dependency on "libterm-ui-perl | perl (<< 5.17.0)"