only run git diff, when perl script succeeded