Fixes 500 error when user types in wrong group name.

王权利请求将feature/missing-group-500-fix合并到master

Created by: ghost

This returns a 404 when the group is not found rather than a 500 error.

The current behavior returns 500 when the group is not found and 404 when the user is not authorized to view the group.

This returns 404 when the group is not found or the user is not authorized to view the group.

合并请求报告