cubicweb-vcreview #2055431 self.patch_repository[0] IndexError: tuple index out of range [deprecated]

Seen on server logs

2011-10-25 15:45:11 - (cubicweb.appobject) ERROR: tuple index out of range
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/mail.py", line 216, in render_emails
  subject = self.subject()
File "/usr/share/cubicweb/cubes/trackervcs/sobjects.py", line 10, in subject
  if patch.repository.project:
File "/usr/share/cubicweb/cubes/vcreview/entities.py", line 46, in repository
  return self.patch_repository[0]
IndexError: tuple index out of range
2011-10-25 15:45:11 - (cubicweb.appobject) ERROR: tuple index out of range
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/mail.py", line 216, in render_emails
  subject = self.subject()
File "/usr/share/cubicweb/cubes/trackervcs/sobjects.py", line 10, in subject
  if patch.repository.project:
File "/usr/share/cubicweb/cubes/vcreview/entities.py", line 46, in repository
  return self.patch_repository[0]
IndexError: tuple index out of range
prioritynormal
typebug
done in<not specified>
load0.000
load left0.000
closed by<not specified>