Adjust the URL.getPath() not to be null when building a url for the Gerrit repository. Signed-off-by: Jacques Bouthillier <jacques.bouthillier@ericsson.com>