rebase: Apply fix for status line matching ostree
rebase: Apply fix for status line matching ostree

See https://git.gnome.org/browse/ostree/commit/?id=4d04b148d8b6abad6b6ebc2685e67fc9421b308f

This code was copied from there.

cgwalters/rpm-ostree-cgwalters,cgwalters/rpm-ostree-cgwalters,cgwalters/rpm-ostree-cgwalters