Since `root` already defaults to an empty string, having `|| ''` is unnecessary. It can be safely removed.