Alikins/ostree

Perhaps raise a more specific exception here?