fixed issue when no gitlab permissions exist, but user is repo owner