> Will git_path_join_unrooted correctly be a no-op if we already have an absolute path?

Yes. It applies the base directory to the path only if the path is unrooted (i.e. relative).