Simplify repocommit and repoupdate

Change-Id: I915f227c3613677122d3bde7c7d1ca90c5666f2f
Merge "Simplify repocommit and repoupdate"