Add with_parent option to #repositories