1110668 - consumer group binding calls now return 404 when invalid group...

..., repo, or distributor ids are given

https://bugzilla.redhat.com/show_bug.cgi?id=1110668
Since this code is essentially a copy of the code above, perhaps you could refactor these into a function that both places use. That way, if there's a bug there is only one place to fix it instead of two.