Don't fail 040 if the git command cannot be run another way

I have an execute resource that runs `git show` to get the sha of a
repo, this fails 040 even though there is no other way of doing this.