Reimplementation of trivial subset of Android "repo" command