use system.repoPath vs config.buildRoot.

Part of https://github.com/nearform/nscale-kernel/pull/25