Remove dependencies that are not on gerrit

Change-Id: I866568379ed67d22343a86d565b249b7f763f01f