bkr policy-grant: Handle non-existent user/group

When a non-existent group or user is supplied, report an appropriate
error message instead of 500-ing.

Bug: 1011400
Change-Id: If9ae51f8cb43bad00be466dfe6c4e16d3ece4fe9