Fix ostree repository mirroring
Description
Backport of !658 (merged) to bst-1.2
This merge request, when approved, will close issue/bug: #538 (closed)
Backport of !658 (merged) to bst-1.2
This merge request, when approved, will close issue/bug: #538 (closed)