Replace {path} with {repository_root}

Closes #429