Decorate GitRepository.is_whitelisted() with retry_on_errors

See http://ci.openmicroscopy.org/view/Failing/job/OMERO-5.0-merge-push/68/console and http://ci.openmicroscopy.org/view/Failing/job/OMERO-5.1-merge-push/307/console