Getting the last synced commit id into Repository

Now done through Rugged instead of the shell.
And the variable has been re-named in the runner to be more descriptive.