index: Default to `master` when there are no tags

See duojs/duo#407.