After discussion with @vpodzime we found better way to do this. Because there is almost nothing similar I'm closing this PR and will create new one later. -- To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/255