Fix case when role_constraints is not defined for a role passed