pub fn effective_policy( root: &Path, remote: Option<CommandPolicy>, ) -> (CommandPolicy, Option<String>)