fix git checkout
fix package2 job to support rhel