Check for branches without enough permissions

Apparently Inkskape has a backup repository that is not readable.

Reported-by: Guillaume Chereau <guillaume@noctua-software.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>