Fixed NPE with web.allowForking && !git.cacheRepositoryList (issue-182)