fn discover<'a, P: AsRef<Path>>(
    repo_path: &P,
    branch: &str,
    policies: &'a [Policy<'a>]
) -> Option<&'a Policy<'a>>