pub fn resolve_root(cli_root: Option<&str>) -> PathBuf
Resolve the jobs root directory following the priority chain.