Hmm, going over this function we sort of assume that the passed-in value is either the id or gid. How about we do a short-circuit return (-ENOENT) if neither of the above conditions succeeded (by sticking an else on the end of that chain), and then here just unconditionally do the assert and request_proposal?