Force cache update on error

The gitdb is probably not able to detect changes here, so let's force it
to reread the data.

Issue #449

Signed-off-by: Michal Čihař <michal@cihar.com>