adopt to recent changes in Gerrit extensions-api

Related to issue #56