Allow -r flag to use repo name instead of id