Relates to: https://pagure.io/pagure/issue/751
Shouldn't this be tree_id?
Maybe add a test for this?
Looks good to me.
Thanks