.oniro-ci: use repo --reference conditionally
The reference is provided only when repo is used with runner persistent storage. This is not a major change, just a clean-up of the existing logic.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@huawei.com