fixed origin-SHA for check-repo-in-sync task

I have found the bug from #1. The origin-SHA was retrieved wrong. Jenkins uses the correct rev-parse parameters, so I added this here, too.