bundle: allow excluding via id (canonical hub) as well as fully-expanded path