Fix unpacking error in upgrade 1008. Fixes #68

obj.ac_inherited_permissions(1) returns a list of tuples which might be
  (permission, methods, roles)
but also
  (permission, methods)
when there are no roles.