Fix exit code for `ag -g`

Return -1 only for no matches, 0 if files have been found.
Merge pull request #532 from blueyed/fix-exitcode-option-g

Fix exit code for `ag -g`