Add repo-root plugin
(cherry picked from commit deb19cda4332255b310dc139fe20da1215b60e4a)