Handle changetype 'R' (restore).
Convert relative path parameter to absolute path.

Otherwise some commands would fail because CWD is changed when the gitdir is
created.

Thanks-to: Pedro Côrte-Real
Bump copyright year.