github: prevent getRepoPermission to raise AttributeError

Sometime the github.repository() method returns None during getRepoPermission,
return 'none' when this happens

Change-Id: If659c28ab2f52b0412bc2dd9e68420169d32ae69
1 file changed